<?php
if(!defined('IN_WOGU')) {
    exit('Access Denied');
}

Loader::loadClass('Plugin_Abstract');

class Spider extends Plugin_Abstract
{
    public function preDispatch($request, $respones) {}

    public function postDispatch($request, $respones) {}

    public function dispatchLoopStartup($request, $respones) {}

    public function dispatchLoopShutdown($request, $respones) {
        $sl = Loader::loadModel('SpiderLogs', true);
        $sl->start();
    }
}